import { Button, Result } from "antd";
import { Link } from "react-router-dom";
import { useNavigate, useLocation, Navigate, NavLink } from "react-router-dom";
const index = () => {
  const router = useNavigate();
  return (
    <Result
      status="404"
      title="404"
      subTitle="访问的页面不存在"
      extra={
        <Button onClick={() => router(-1)} type="link">
          返回
        </Button>
      }
    />
  );
};
export default index;
